#include "UpdateFile.h"

UpdateFile::UpdateFile()
{
	m_FileName = "";
	m_Path = "";
	m_priority = 50;
	m_Sha1 = "";
}
UpdateFile::UpdateFile(QString FileName, QString Path, int priority, QString Sha1)
{
	m_FileName = FileName;
	m_Path = Path;
	m_priority = priority;
	m_Sha1 = Sha1;
}

UpdateFile::~UpdateFile()
{
}

void UpdateFile::setFilename(QString NewVal)
{
	m_FileName = NewVal;
}
QString UpdateFile::getFilename()
{
	return m_FileName;
}
void UpdateFile::setPath(QString NewVal)
{
	m_Path = NewVal;
}
QString UpdateFile::getPath()
{
	return m_Path;
}
void UpdateFile::setSha1(QString NewVal)
{
	m_Sha1 = NewVal;
}
QString UpdateFile::getSha1()
{
	return m_Sha1;
}
void UpdateFile::setpriority(int NewVal)
{
	m_priority  = NewVal;
}
int UpdateFile::getpriority()
{
	return m_priority;
}